package com.example.forum.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

/**
 * Created with IntelliJ IDEA
 * Description  配置Mybatis的扫描路径
 * User: 王杰
 * Date: 2025-06-10
 * Time: 18:48
 */
// 配置类(加入Spring)
@Configuration
// 指定Mybatis的扫描路径
@MapperScan("com.example.forum.dao")
public class MybatisConfig {
}
